import request from '@/utils/request'

// 查询题干列表
export function listStem(query) {
  return request({
    url: '/north/stem/list',
    method: 'get',
    params: query
  })
}

// 查询题干详细
export function getStem(id) {
  return request({
    url: '/north/stem/' + id,
    method: 'get'
  })
}

// 新增题干
export function addStem(data) {
  return request({
    url: '/north/stem',
    method: 'post',
    data: data
  })
}

// 修改题干
export function updateStem(data) {
  return request({
    url: '/north/stem',
    method: 'put',
    data: data
  })
}

// 删除题干
export function delStem(id) {
  return request({
    url: '/north/stem/' + id,
    method: 'delete'
  })
}
